package com.chixing.service;

import com.chixing.pojo.OwnCoupon;
import com.chixing.util.ServerResult;

public interface CouponService {

    public ServerResult getAll(Integer memberId);

    public ServerResult receiveCoupon(Integer couponId,Integer memberId);

    public ServerResult getUserCoupon(Integer memberId);

    public OwnCoupon getById(Integer couponId);

    public int updateById(Integer couponId);

    public int updateById2Lapse(Integer coupnId);


}
